package com.cu.simpleerp.frame.session.impl;

import com.cu.simpleerp.frame.session.SessionManager;
import com.cu.simpleerp.system.model.User;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * redis session 管理器
 * @author jintian
 * @date 2018/10/23 16:15
 */
@Component("redisSession")
public class RedisSessionManager implements SessionManager {


    @Override
    public void refashSession(HttpServletRequest request) {

    }

    @Override
    public void removeSession(HttpServletRequest request) {

    }

    @Override
    public void addSession(HttpServletResponse response,HttpServletRequest request,String value) {

    }

    @Override
    public boolean checkSession(HttpServletRequest request) {
        return false;
    }

    public User getLoginUser(HttpServletRequest request){
        return null;
    }
}
